package com.platform.modules.sys.service;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.platform.modules.sys.entity.SysOrgAptitudeEntity;


/**
 * @author wangLc
 * 单位资质信息
 * 2019-5-18
 */
public interface SysOrgAptitudeService extends IService<SysOrgAptitudeEntity> {

	/**
	 * 查询所有
	 *
	 * @param params
	 *            查询参数
	 * @return List
	 */
	List<SysOrgAptitudeEntity> queryAll(Map<String, Object> params);
	
	
	
    Page queryAllPage(Map<String, Object> params);

	/**
	 * 分页查询
	 *
	 * @param params
	 *            查询参数
	 * @return Page
	 */
	Page queryPage(Map<String, Object> params);
	
	/**
	 * 非分页查询
	 *
	 * @param params
	 *            查询参数
	 * @return Page
	 */
	
	List<SysOrgAptitudeEntity> queryList(Map<String, Object> params);
	
	
	/**
	 * 删除人员证书
	 *
	 * @param userIds
	 *            证书Ids
	 */
	void deleteBatch(String[] orgAptitudeIds);
	
	
	/**
	 * 保存人员证书
	 *
	 * @param role
	 *            role
	 */
	void add(SysOrgAptitudeEntity sysOrgAptitudeEntity);
	
	String passOrgAptitude(SysOrgAptitudeEntity sysOrgAptitudeEntity,String auditTxt,String auditor,String orgNo);
	
	String noPassOrgAptitude(SysOrgAptitudeEntity sysOrgAptitudeEntity,String auditTxt,String auditor,String orgNo);

}
